<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>步步高裤行欢迎您</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <!--标准mui.css-->
    <link rel="stylesheet" href="/css/dist/mui.min.css">
    <script src="/js/dist/jquery.min.js"></script>
    <script src="/js/base.js"></script>
    <script src="/js/dist/vue.js"></script>
    <script src="/js/dist/vue-resource.min.js"></script>
    <script src="/js/member/myMemberPage.js"></script>

    <style>
        body{
            background-image: url("/images/member/blueFlower.jpeg");
            background-position: center;
            background-size: cover;
        }
    </style>
</head>

<body>
<header class="mui-bar mui-bar-nav">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">我的会员信息</h1>
</header>
<div id="divController" style="margin-top: 4.55rem">
    <div class="mui-card">
        <h3 style="margin-left: 30%">查询会员信息</h3>
        <ul class="mui-table-view">

            <li class="">
                <input  v-model="memberMobile" type="text" placeholder="请输入手机号或姓名"/>
                <input style="margin-left: 40%" type="button" v-on:click="queryMember" value="提交">
                <div id="buyResult" style="visibility: hidden" class="mui-collapse-content">
                    <p>已经购买了{{memberPageInfo.haveBuy}}条</p>
                    <p>还需要购买{{memberPageInfo.needBuy}}条就可免费获赠一条</p>

                </div>
            </li>
        </ul>
    </div>
    <div class="mui-card">
        <h3 style="margin-left: 25%">注册为本店会员</h3>
        <div><label >手机：</label><input  v-model="registerMemberInfo.mobilePhone" style="width: 50% ;margin-left: 10%;" type="text"></div>
        <div><label >姓名：</label><input  v-model="registerMemberInfo.memberName" style="width: 50%; margin-left: 10%;" type="text"></div>
        <input style="margin-left: 30%;"  type="button" v-on:click="registerMember" value="提交注册">
    </div>
</div>
<script src="/js/dist/mui.min.js"></script>
<script>
    mui.init({
        swipeBack:true //启用右滑关闭功能
    });
</script>
</body>

</html>